DateTime Add

The DateTime Add algorithm is used to add the specified number of seconds to the given date.

 

For example, it may happen you have a DateTime value that is rounded to a whole minute in the source column. To preserve seconds, you can create a new DateTime instance (with the specified number of seconds). The value of a newly created instance will be the result of this manipulate step.

 

Original date After using this step
03/12/2019 02:25:00 PM 03/12/2019 02:25:30 PM

 

To configure this manipulate step, follow the instructions below:

 

  1. In the Admin Navigation tree, select Interfaces > InterfaceName > Tasks > TaskName > Steps.
  2. On the toolbar, click New >New Manipulate Step.

Creating a New Manipulate Step

  1. Navigate to the Dates section and select DateTime Add.

Dates Section

  1. In the DateTime Add work area, fill in the following fields:

 

Fields Description

Name

Provide a distinctive name for this step.

Is Active

Select the check box to engage the scheduler for this step.

Order of Execution

Enter the order in which this step should be executed.

Filter Expression

Optional. Use this filed to filter data from the source database prior to inserting it into the Schema table.

Sort Expression

Optional. Use this field to sort data from the source database prior to inserting it into the Schema table.

Stop interface execution if query failed

Optional. If enabled, the system will stop any data manipulation if the query returns an error.

Save Schema (enabled per interface)

If selected, the schema is created for this step.

Source Column

Select the column where you will retrieve the data source.

Input Format

Specify the pattern the source date/time value should match. For details on the pattern syntax, see Formatting Dates and Times.
Number of seconds to add Specify the number of seconds that will be added to the source date/time value.

Target Column

Select the column where you will get the converted value.

Output Format

Specify the pattern the output date/time value should match. For details on the pattern syntax, see Formatting Dates and Times.

 

  1. Click the Save button.